﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace THO7_Team8
{
	public partial class KMeansConfiguration : ConfigForm
	{
		public KMeansConfiguration()
		{
			InitializeComponent();

			nrOfClustersComboBox.SelectedIndex = 0;
		}

		private void goButton_Click(object sender, EventArgs e)
		{
			String a = checkBox1.Checked ? "1" : "2";
			a += nrOfClustersComboBox.SelectedItem.ToString();
			_configValue = Convert.ToInt16(a);
			this.Hide();
		}
	}
}